<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<jsp:directive.page language="java"
	contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" />
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<%@ include file="/commons/includes/head.jspf"%>
		<title><fmt:message key="page.title.other" />-栏目</title>
		<link rel="stylesheet" type="text/css"
			href="<c:url value="/commons/manage/manage.css" />"></link>
		<script type="text/javascript"
			src="<c:url value="/commons/manage/manage.js" />"></script>
	</head>
	<body>
		<c:if test="${CURRENT_USER.type eq 'admin'}">
			<div class="accordion-header">
				<span class="icoDown"></span>信息发布
			</div>
			<div class="accordion-content" align="center">
				<c:forEach var="catalog" items="${catalogMap}">
					<c:set var="cata" value="${catalog.value}" />
					<span class="catalog" href="<c:url value="${cata.editUrl}" />">
						<span class="catIco"></span> <span class="catText">${cata.title}</span>
					</span>
					<c:forEach var="subCatalog" items="${cata.children}">
						<c:set var="subCata" value="${subCatalog.value}" />
						<span class="catalog subcatalog"
							href="<c:url value="${subCata.editUrl}" />"> <span
							class="catIco subcatIco"></span> <span
							class="catText subcatText indexShowShort"
							title="${subCata.title}">${subCata.title}</span> </span>
					</c:forEach>
				</c:forEach>
			</div>
			<div class="accordion-header">
				<span class="icoDown"></span>账户管理
			</div>
			<div class="accordion-content" align="center">
				<span class="catalog"
					href="<c:url value="/user/contactsList.shtml"/>"> <span
					class="catIco icoEnt"></span> <span class="catText">联系人</span> </span>
				<span class="catalog"
					href="<c:url value="/user/userList.shtml?ec_f_type=admin"/>">
					<span class="catIco icoMgn"></span> <span class="catText">管理账户</span>
				</span>
			</div>
		</c:if>
		<c:if test="${CURRENT_USER.type ne 'company'}">
			<div class="accordion-header">
				<span class="icoDown"></span>在线订单
			</div>
			<div class="accordion-content" align="center">
				<span class="catalog"
					href="<c:url value="/message/messageList.shtml?ec_f_state=ASSIGNED"/>">
					<span class="catIco icoAsgned"></span> <span class="catText">待处理咨询单</span>
				</span>
				<span class="catalog"
					href="<c:url value="/message/messageList.shtml?ec_f_state=REPLIED"/>">
					<span class="catIco icoReply"></span> <span class="catText">已处理咨询单</span>
				</span>
			</div>
		</c:if>
	</body>
</html>
